Skip to content

Add vitePreprocess() from vite-plugin-svelte to svelte build#215

Open
spiffyguy wants to merge 1 commit intoframework7io:masterfrom
spiffyguy:master
Open

Add vitePreprocess() from vite-plugin-svelte to svelte build#215
spiffyguy wants to merge 1 commit intoframework7io:masterfrom
spiffyguy:master

Conversation

@spiffyguy
Copy link
Contributor

Use the vitePreprocess() function from vite-plugin-svelte to svelte's "preprocess" parameter on build. Fixes "Unexpected token 'type'" when importing an external typescript module (in my case Uppy, https://uppy.io/docs/svelte/)

… "preprocess" parameter on build. Fixes "Unexpected token 'type'" when importing an external typescript module (in my case Uppy, https://uppy.io/docs/svelte/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant